/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.attach;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.attach.AttachLink;

/**
 * @author Alucard (email:357375084@qq.com)
 * @since 2013-03-11
 */
public interface AttachLinkService {

    /****************************************
     * Insert a instace of AttachLink
     ****************************************/
    void insert(AttachLink attachlink) throws Exception;

    /****************************************
     * Insert instaces of AttachLink
     ****************************************/
    void batchInsert(AttachLink attachlink) throws Exception;

    /****************************************
     * Delete a instace of AttachLink
     ****************************************/
    void delete(AttachLink attachlink) throws Exception;

    /****************************************
     * Delete instaces of AttachLink
     ****************************************/
    void batchDelete(AttachLink attachlink) throws Exception;

    /****************************************
     * Update a instace of AttachLink
     ****************************************/
    void update(AttachLink attachlink) throws Exception;

    /****************************************
     * Query instaces of AttachLink
     ****************************************/
    List<BaseModel> queryAsList(AttachLink attachlink) throws Exception;

    /****************************************
     * Query a instaces of AttachLink
     ****************************************/
    BaseModel queryAsObject(AttachLink attachlink) throws Exception;
}
